package com.hbx.dto.comment;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/*
 * @Author:hbx
 * 
 * */
@Data
public class InsertCommentDto {

    @NotBlank(message = "评论内容不能为空")
    private String commnetContent;

    @NotNull(message = "blogId岂能为空")
    private Integer blogId;

    private Integer parentCommentId;
}
